﻿using System.Web;
using System.Web.Optimization;

namespace PrjAssess
{
    public class BundleConfig
    {
        // 有关 Bundling 的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            //任何文件都不忽略
            bundles.IgnoreList.Clear();

            bundles.Add(new ScriptBundle("~/bundles/scripts").Include(
                "~/Scripts/jquery-{version}.js",
                "~/Scripts/bootstrap.js",
                "~/Scripts/knockout-{version}.js",
                "~/Scripts/knockout.mapping-latest.js",
                "~/Scripts/ej.core.min.js",
                "~/Scripts/ej.data.min.js",
                "~/Scripts/ej.chart.min.js",
                "~/Scripts/ej.tab.min.js",
                "~/Scripts/angular.js",
                "~/Scripts/jquery.easing.{version}.js"
                ));


           

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            // 使用要用于开发和学习的 Modernizr 的开发版本。然后，当你做好
            // 生产准备时，请使用 http://modernizr.com 上的生成工具来仅选择所需的测试。
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                "~/Content/bootstrap.css",
                "~/Content/Style.css",
                "~/Content/ej.theme.min.css",
                "~/Content/ej.widgets.core.min.css"
                ));

             
              
              //"~/Content/ej.widgets.all.css",
        }
    }
}